package com.local.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lou ke
 * @version 1.0
 * @since 2020/4/20 17:23
 */
@RestController
public class UserController {

    @GetMapping("/db")
    public String db() {
        return "dba";
    }

    @GetMapping("/admin")
    public String admin() {
        return "admin";
    }

    @GetMapping("/user")
    public String user() {
        return "user";
    }
}
